/**
 * @description 笔记模型类
 * @author AI Assistant
 * @date 2023-10-27
 */

import { BaseModel } from './base'

export class Note extends BaseModel {
  constructor(data = {}) {
    super(data)
    this.taskId = data.taskId || ''
    this.timerId = data.timerId || ''
    this.content = data.content || ''
  }

  toJSON() {
    return {
      ...super.toJSON(),
      taskId: this.taskId,
      timerId: this.timerId,
      content: this.content
    }
  }
} 